﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace University.Workshop.Presenters.Users
{
    public class PresenterReadSecondStep
    {
        ISecondStepReadUser view;

        public PresenterReadSecondStep(ISecondStepReadUser view)
        {
            this.view = view;
        }

        public void UpdateData()
        {
            view.Login = view.UserToRead.Login;
            view.Role = view.UserToRead.Role;
            view.IsActive = view.UserToRead.IsActive;
        }
    }
}
